package com.chyb.cloud.apis;

import com.chyb.cloud.resp.ResultData;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "cloud-gateWay")
public interface openGatewayApi {

    @GetMapping(value = "/pay/gateway/get/{id}")
    ResultData getById(@PathVariable("id") Integer id);


    @GetMapping(value = "/pay/gateway/info")
    ResultData<String> getGatewayInfo();
}
